﻿<%@ Page Title="" Language="C#" MasterPageFile="~/PBOfficeMaster.master" AutoEventWireup="true"
    CodeFile="AppraisalCheck .aspx.cs" Inherits="AppraisalManager_AppraisalCheck_" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style type="text/css">
        .branchtop
        {
            margin: 10px 50px;
            text-align: left;
            font-size: 12px;
        }
        .lbBranch
        {
            font-size: 14px;
            font-weight: bold;
            background-image: url('../imges/daohangbeijing1.jpg');
            background-repeat: no-repeat;
            text-align: center;
            margin: 0;
            color: White;
            padding-top: 7px;
            height: 22px;
            width: 110px;
        }
        
        hr
        {
            margin-left: 45px;
            height: 1px;
            color: Blue;
            width: 804px;
        }
        .txt
        {
            border: 1px solid #6699FF;
            color: Blue;
        }
        .check
        {
            margin-top: 10px;
            margin-bottom: 10px;
            margin-left: 50px;
            text-align: left;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div style="width: 864px; font-size: 14px; height: 362px;">
        <div class="branchtop">
            <table>
                <tr>
                    <td>
                        当前位置
                    </td>
                    <td>
                        <div class="lbBranch">
                            考勤历史查询</div>
                    </td>
                </tr>
            </table>
        </div>
        <hr />
        <div class="check">
            输入时间段：开始时间：<asp:TextBox ID="txtBeginTime" runat="server" CssClass="txt"></asp:TextBox>*------结束时间：<asp:TextBox
                ID="txtEndTime" runat="server" CssClass="txt"></asp:TextBox>*&nbsp;&nbsp;
            <asp:RadioButton ID="rbDay" runat="server" Text="本日" /><asp:RadioButton ID="rbWeek"
                runat="server" Text="本周" /><asp:RadioButton ID="rbMonth" runat="server" Text="本月" /></div>
        <hr style="height: 3px; color: #ccc;" />
        <div class="check">
            <asp:Image ID="Image1" runat="server" ImageUrl="~/imges/fangda.jpg" />查找范围：<asp:CheckBox
                ID="cbDept" runat="server" Text="按部门" 
                oncheckedchanged="cbDept_CheckedChanged" AutoPostBack="True" />&nbsp;&nbsp;&nbsp;
            <asp:CheckBox ID="cbNo" runat="server" Text="按员工号" 
                oncheckedchanged="cbNo_CheckedChanged" AutoPostBack="True" />&nbsp;&nbsp;&nbsp;
            <asp:CheckBox ID="cbName" runat="server" Text="按姓名" 
                oncheckedchanged="cbName_CheckedChanged" AutoPostBack="True" /></div>
        <hr style="height: 3px; color: #ccc;" />
        <div style="margin-top: 10px; margin-left: 50px; margin-bottom: 30px; text-align: left;">
            部门：<asp:TextBox ID="txtDept" CssClass="txt" runat="server"></asp:TextBox>&nbsp;&nbsp;
            员工号：<asp:TextBox ID="txtNo" CssClass="txt" runat="server" Width="70px"></asp:TextBox>&nbsp;
            姓名：<asp:TextBox ID="txtName" CssClass="txt" runat="server"></asp:TextBox>(模糊查询eg:李)<asp:ImageButton
                ID="ImageButton1" runat="server" Height="20px" 
                ImageUrl="~/imges/serch.jpg" Width="24px" onclick="ImageButton1_Click" /></div>
                <div style=" margin-left:60px;">
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                        Width="753px" BorderColor="#6699FF" BorderStyle="Solid" BorderWidth="1px" 
                        Height="37px" onrowdatabound="GridView1_RowDataBound">
                        <Columns>
                            <asp:TemplateField HeaderText="签到员工">
                                <EditItemTemplate>
                                    <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("User.StfName") %>'></asp:TextBox>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="Label2" runat="server" Text='<%# Bind("User.StfName") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField HeaderText="签卡时间" DataField="SignTime" />
                            <asp:BoundField HeaderText="签卡标记" DataField="SignTag" />
                            <asp:BoundField HeaderText="签卡备注" DataField="SignDesc" />
                            <asp:TemplateField HeaderText="所属部门">
                                <EditItemTemplate>
                                    <asp:TextBox ID="TextBox1" runat="server" 
                                        Text='<%# Bind("User.Department.DeptName") %>'></asp:TextBox>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="Label1" runat="server" 
                                        Text='<%# Bind("User.Department.DeptName") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                </div>
    </div>
</asp:Content>
